package us.wili.dev.common.util.xinge.v2.model.req.android;

import com.alibaba.fastjson.JSON;
import us.wili.dev.common.util.xinge.v2.model.Param;

import java.util.Map;

/**
 * author: lefore
 * date: 2018/8/30
 */
public class AndroidMsg {

    // 标题
    @Param(true)
    private String title;
    // 内容
    @Param(true)
    private String content;
    // 用户自定义的 key-value
    private Map<String, Object> custom_content;

    public String toJson() {
        return JSON.toJSONString(this);
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Map<String, Object> getCustom_content() {
        return custom_content;
    }

    public void setCustom_content(Map<String, Object> custom_content) {
        this.custom_content = custom_content;
    }
}
